import { Router } from 'express'

const router = Router()

router.get('/', (req, res) => {
  res.send([
    {
      id: '610159148224d543ae4e05c5',
      label: 'DPS计算器',
      icon: 'dashboard',
      name: 'dps',
      /*
      children: [
        { id: '610159148224d543ae4e05c6', label: 'Home', name: 'home' },
        req.can(Role.owner) && { id: '610159148224d543ae4e05c7', label: 'Update', name: 'update' }
      ].filter(Boolean)*/
    },
    // Labs Pages
    {
      id: '610159148224d543ae4e05b9',
      label: 'API Test',
      icon: 'flask',
      name: 'apitest'
    }
  ].filter(Boolean))
})

export default router
